package com.woniu.guoguo.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 
 * </p>
 *
 * @author Richie
 * @since 2020-11-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("menu")
@AllArgsConstructor
@NoArgsConstructor
public class Menu implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "menu_id", type = IdType.AUTO)
    private Integer menuId;

    /**
     * 套餐类型
     */
    private String type;

    /**
     * 套餐名
     */
    private String menuName;

    /**
     * 价格
     */
    private Double price;

    /**
     * 详情
     */
    private String description;

    /**
     * 折扣
     */
    private Double discounts;

    /**
     * 会员价
     */
    private Double vipPrice;

    /**
     * 会员购买获得积分
     */
    private Integer integral;

    /**
     * 状态（0，1：关，开）
     */
    private Integer status;

    /**
     * 销量
     */
    private Integer saleNum;


}
